package com.example.process.node.enums;


import com.example.process.node.NodeProcessor;
import com.example.process.node.tolerate.*;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
 * @author tangsen2333
 * @date 2022/6/15
 * @description 节点分类
 */
@Getter
@AllArgsConstructor
public enum ProcessNodeEnum {

    ENTRANCE_PERMIT(10, EntrancePermitNode.class),
    CARGO_INSPECTION(20, CargoInspectionNode.class),
    FIRST_WEIGH(40, FirstWeighNode.class),
    UNLOAD_CALL(80, UnloadCallNode.class),
    UNLOAD_COMPLETED(100, UnloadCompletedNode.class),
    QC_LOAD(120, QcLoadNode.class),
    LOAD_COMPLETED(121, LoadCompletedNode.class),
    ITEM_RATING(130, ItemRatingNode.class),
    CARPOOL_UNLOADING(135, CarpoolUnloadingNode.class),
    TWICE_WEIGH(140, TwiceWeighNode.class),
    SETTLEMENT(160, SettlementNode.class),
    EXPORT_PERMIT(200, ExportPermitNode.class);

    private Integer nodeCode;

    private Class<? extends NodeProcessor> nodeClass;


}
